﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Pro.Application.Contracts.Dtos.Product
{
    /// <summary>
    /// 商品详情
    /// </summary>
    public class ProductDetailDto : IDto
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 商品标语
        /// </summary>
        public string[] Slogan { get; set; }

        /// <summary>
        /// 商品标签
        /// </summary>
        public string[] Tag { get; set; }

        /// <summary>
        /// 是否是国外商品
        /// </summary>
        public bool IsForeign { get; set; }

        /// <summary>
        /// 是否是第三方商品
        /// </summary>
        public bool IsThirdParties { get; set; }

        /// <summary>
        /// 轮播图
        /// </summary>
        public string[] Banner { get; set; }

        /// <summary>
        /// 是否可以分享
        /// </summary>
        public bool Shareable { get; set; }

        /// <summary>
        /// 销量
        /// </summary>
        public int Sales { get; set; }

        /// <summary>
        /// 视频地址
        /// </summary>
        public string[] VideoAddress { get; set; }

        /// <summary>
        /// 详情图
        /// </summary>
        public string[] Details { get; set; }

        /// <summary>
        /// 商品规格和价格
        /// </summary>
        public List<ProductSizeDto> Size { get; set; }

        /// <summary>
        /// 商品评论
        /// </summary>
        public ProductReviewListDto ProductReview{ get; set; }

        /// <summary>
        /// 评论总数
        /// </summary>
        public int ProductReviewCount { get; set; }
    }
}
